package wh.coach.domain.error;

/**
 * @Author xhw
 * @Date 2023/10/8
 * @Version 1.0
 */
public class OptimisticLockException extends BusinessException {

    public OptimisticLockException(String message) {
        this(ErrorCodeList.CONCURRENT_UPDATE_FAILURE.name(), message);
    }

    public OptimisticLockException(String errorCode, String message) {
        super(errorCode, message);
    }
}
